package com.pinoc.demo.controller.nacos;

import com.pinoc.demo.config.Config;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yinpeng10
 * @desc
 */
@RestController
@RequestMapping("nacos/get")
public class NacosTestController {

	@RequestMapping("config")
	@ResponseBody
	public String getEnv() {
		return Config.env;
	}

}

